layui.use(['upload', 'form', 'laydate'], function () { //此段代码必不可少
    var form = layui.form;
    var upload = layui.upload;
    var laydate = layui.laydate;
});